{subtemplate header}
<div class="subtable nav" style="width: {TABLEWIDTH}">
<img src="{IMGDIR}/map.png" align="absmiddle" alt="You are here" class="map" /><a href="$indexname">$bbname</a> &raquo; {lang whosonline}
</div></div>
<div class="maintable">
<table width="{TABLEWIDTH}" align="center">
<tr><td valign="bottom">$multipage</td></tr>
</table>

<!--{if $allowviewip}-->
	<table cellspacing="{INNERBORDERWIDTH}" cellpadding="{TABLESPACE}" width="99%" align="center">
	<tr class="header">
	<td align="center" nowrap>{lang username}</td>
	<td align="center" nowrap>{lang time}</td>
	<td align="center" nowrap>{lang online_action}</td>
	<td align="center" nowrap>{lang online_in_forum}</td>
	<td align="center" nowrap>{lang online_in_thread}</td>
	<td align="center" nowrap>{lang online_ip}</td>
	</tr>
	<!--{loop $onlinelist $online}-->
		<tr align="center" class="row" onMouseOver="this.style.backgroundColor='{ALTBG1}'" onMouseOut="this.style.backgroundColor='{ALTBG2}'">
		<td><!--{if $online['uid']}--><a href="space.php?uid=$online[uid]">$online[username]</a><!--{else}-->{lang guest}<!--{/if}-->&nbsp;</td>
		<td>$online[lastactivity]&nbsp;</td>
		<td>$online[action]&nbsp;</td>
		<td><!--{if $online['fid']}--><a href="forumdisplay.php?fid=$online[fid]">$online[name]</a><!--{/if}-->&nbsp;</td>
		<td class="subject"><!--{if $online['tid']}--><a href="viewthread.php?tid=$online[tid]">$online[subject]</a><!--{/if}-->&nbsp;</td>
		<td>$online[ip]&nbsp;</td>
		</tr>
	<!--{/loop}-->
	</table>
<!--{else}-->
	<table cellspacing="{INNERBORDERWIDTH}" cellpadding="{TABLESPACE}" width="99%" align="center">
	<tr class="header">
	<td align="center" nowrap>{lang username}</td>
	<td align="center" nowrap>{lang time}</td>
	<td align="center" nowrap>{lang online_action}</td>
	<td align="center" nowrap>{lang online_in_forum}</td>
	<td align="center" nowrap>{lang online_in_thread}</td>
	</tr>
	<!--{loop $onlinelist $online}-->
		<tr align="center" class="row" onMouseOver="this.style.backgroundColor='{ALTBG1}'" onMouseOut="this.style.backgroundColor='{ALTBG2}'">
		<td><!--{if $online['uid']}--><a href="space.php?uid=$online[uid]">$online[username]</a><!--{else}-->{lang guest}<!--{/if}-->&nbsp;</td>
		<td>$online[lastactivity]&nbsp;</td>
		<td>$online[action]&nbsp;</td>
		<td><!--{if $online['fid']}--><a href="forumdisplay.php?fid=$online[fid]">$online[name]</a><!--{/if}-->&nbsp;</td>
		<td class="subject"><!--{if $online['tid']}--><a href="viewthread.php?tid=$online[tid]">$online[subject]</a><!--{/if}-->&nbsp;</td>
		</tr>
	<!--{/loop}-->
	</table>
<!--{/if}-->

<div class="subtable" style="width: {TABLEWIDTH};">
$multipage
</div>
{subtemplate footer}